home *** CD-ROM | disk | FTP | other *** search
- # $1 is the caller's name
- # $2 is the caller's action (Init, ConnorAction, TalkComplete, Die)
- # if action is Init
- # No extra args
- # if action is ConnorAction:
- # $3 is the inventory object's name ("do" if no inventory object)
- # $4 is the inventory object's type ("do" if no inventory object)
- # if action is TalkComplete
- # $3 is the MessageFile number
- # $4 is the Noun number
- # $5 is the Verb number
- # $6 is the Condition number
- # $7 is the final Sequence number
- # if action is Die
- # No extra args
-
- # death of the animobject
-
- if test $2 == Die
- KQObject::getLoc $1
- # loadObject @ rok.kqs $KQObject::loc
- KQMonster::dropItem Connor INVITEM_Rock $KQObject::loc
- endif